package org.come.until;

import com.tool.image.ImageMixDeal;
import com.tool.role.RoleData;
import com.tool.role.RoleProperty;
import com.tool.time.TimeLimit;
import org.cbg.frame.TraslationCommodityJFrame;
import org.cbg.frame.TrslationMainJframe;
import org.codeCard.frame.CodeCardJFrame;
import org.come.Frame.*;
import org.come.Jpanel.*;
import org.come.MountShouHu.LvlupJframe;
import org.come.MountShouHu.RandFJframe;
import org.come.MountShouHu.ShouhuPackJframe;
import org.come.MountShouHu.xuanzeJframe;
import org.come.action.petpaixu.PetpxJframe;
import org.come.baitan.BaiTanJframe;
import org.come.baitan.GouMaizhuFrame;
import org.come.bean.LoginResult;
import org.come.lianhua.AutoMaticRefiningJframe;
import org.come.model.InternalForm;
import org.come.setup.XSeTupJpanelxsjm;
import org.come.shortcut.XBjczJpanelxsjm;
import org.come.socket.Agreement;
import org.come.socket.SendMessageUntil;
import org.come.starcard.JframeSoulBackMain;
import org.come.starcard.JframeStarCardMain;
import org.come.starcard.JframeStarTransferMain;
import org.come.strength.JframeStrengthMain;
import org.come.summonequip.JframeCashRewardsMain;
import org.come.summonequip.JframeHelpMain;
import org.come.summonequip.JframeReclaimSkillMain;
import org.come.summonequip.JframeSummonEquipMain;
import org.come.tt.EventSelectionJframe;
import org.come.tt.LadderJframe;
import org.come.tt.LadderLotteryJframe;
import org.come.xingpan.JframeXingBackMain;
import org.come.xingpan.JframeXingCardMain;
import org.come.xinyuan.SkillMainFrame5;
import org.gaming.GamingJframe;
import org.gemstone.panel.GemstoneOperationMainFrame;
import org.lottery.frame.LotteryIntegralMainJframe;
import org.lottery.frame.LotteryMainFrame;
import org.skill.frame.LXiulianMainFrame;
import org.skill.frame.SkillMainFrame;
import org.skill.frame.SkillPromoteMainFrame;
import org.soaring.panel.SoaringMainFrame;
import org.wing.panel.LHMainFrame;
import org.wing.panel.WingMainFrame;
import org.zdlh.Frame.ZdlhJframe;


import javax.swing.*;
import java.awt.*;
import java.io.IOException;
import java.util.*;
import java.util.List;

public class FormsManagement {
    private static List<InternalForm> Forms;
    public static Map<Integer, Integer> map;
    private static Cursor cursor;
    private static InternalForm Privilege;


    private static InternalForm getPrivilege() {
        if (FormsManagement.Privilege == null) {
            FormsManagement.Privilege = new InternalForm(-1, (JInternalFrame) new FormMaskJFrame(), -1);
        }
        return FormsManagement.Privilege;
    }

    public static JInternalFrame getframe(final int bh) {
        return getInternalForm(bh).getFrame();
    }

    //任我行相关
    private static String xdt1103;//判断世界地图的小地图是否开启

    public static void showForm(final int bh) {
        System.out.println("打开窗口 = " + bh);
        if (bh == 2260) {
            int k = 0;
        }
//        // 添加VIP检查，确保只有VIP用户可以打开头像切换窗口
//        if (bh == 199) {
//            if (TimeLimit.getLimits().getLimit("VIP") == null) {
//                // 非VIP用户提示
//                ZhuFrame.getZhuJpanel().addPrompt2("VIP用户才可以使用头像切换功能");
//                return;
//            }
//        }
        // 添加充值用户检查，确保只有充值用户可以打开头像切换窗口
        if (bh == 199) {
            LoginResult login = RoleData.getRoleData().getLoginResult();
            // 设置最低充值金额限制，例如100（根据游戏货币单位调整）
            int minRechargeAmount = 1;
            if (login == null || login.getMoney() == null || login.getMoney().intValue() < minRechargeAmount) {
                // 充值金额不足的用户提示
                ZhuFrame.getZhuJpanel().addPrompt2("充值满" + minRechargeAmount + "元宝成为赞助用户才可以使用此功能");
                return;
            }
        }
        if (bh == 78) {
            LoginResult login = RoleData.getRoleData().getLoginResult();
            if (login.getTurnAround() < 3) {
                ZhuFrame.getZhuJpanel().addPrompt2("三转以上才能打开藏宝阁");
                return;
            }
        }
        if (bh == 22 && Objects.equals(xdt1103, "true")) {
            xdt1103 = "false";
            WorldMapJpanel.loadMapTP(Integer.parseInt(ImageMixDeal.userimg.getRoleShow().getMapid() + ""), ImageMixDeal.userimg.getRoleShow().getX(), ImageMixDeal.userimg.getRoleShow().getY());
        }
        if (bh == 1103) {
            xdt1103 = "true";
        }
        final InternalForm form = getInternalForm(bh);
        Switchinglevel(form);
        ZhuFrame.getZhuJpanel().getSendMes().requestFocus();
        if (MessagrFlagUntil.ImgFlagImg.equals(MessagrFlagUntil.MOUSE13)) {
            MessagrFlagUntil.setMouse(MessagrFlagUntil.MOUSE1);
        }
        if (bh == 111) {//修复幻境试炼
            DreamlandTrialMainJpanel dreamlandTrialMainJpanel = DreamlandTrialMainJframe.getDreamlandTrialMainJframe().getDreamlandTrialMainJpanel();
            dreamlandTrialMainJpanel.showLvlTier(dreamlandTrialMainJpanel.getPageNow());
        }
        if (bh == 604) {//修复天梯人物显示
            String mesxx = Agreement.getAgreement().pankinglistAgreement("6");
            SendMessageUntil.toServer(mesxx);
        }
    }

    public static void HideForm(final int bh) {
        if (bh == 1103) {
            WorldMapJpanel.loadMap(Integer.parseInt(ImageMixDeal.userimg.getRoleShow().getMapid() + ""), ImageMixDeal.userimg.getRoleShow().getX(), ImageMixDeal.userimg.getRoleShow().getY());
        }
        //修复手指
        if (bh == 40) {
            MessagrFlagUntil.setMouse(MessagrFlagUntil.MOUSE1);
        }
        final InternalForm form = getInternalForm2(bh);
        if (form != null && form.HideForm()) {
            HidePrivilege();
        }
    }

    public static void disposeForm(final int bh) {
        InternalForm form = getInternalForm(bh);
        GameJpanel.getGameJpanel().remove((Component) form.getFrame());
        form.getFrame().dispose();
        FormsManagement.Forms.remove(form);
        FormsManagement.map.clear();
        for (int i = FormsManagement.Forms.size() - 1; i >= 0; --i) {
            FormsManagement.map.put(Integer.valueOf(((InternalForm) FormsManagement.Forms.get(i)).getFormid()), Integer.valueOf(i));
        }
        if (form.getFormlvl() == 3 || form.getFormlvl() == 6) {
            HidePrivilege();
        }
        form = null;
    }

    public static void Switchinglevel(final int bh) {
        final InternalForm form = getInternalForm2(bh);
        if (form != null) {
            Switchinglevel(form);
        }
    }

    public static void Switchinglevel(final InternalForm form) {
        if (form.getFormlvl() == 3 || form.getFormlvl() == 6) {
            final InternalForm pForm = getPrivilege();
            ((FormMaskJFrame) pForm.getFrame()).change(ScrenceUntil.ChatFram_X + ScrenceUntil.Screen_x, ScrenceUntil.Screen_y);
            GameJpanel.getGameJpanel().add((Component) pForm.getFrame(), 1);
            pForm.getFrame().setVisible(true);
        }
        GameJpanel.getGameJpanel().add((Component) form.getFrame(), 1);
        form.getFrame().setVisible(true);
    }

    public static void upgradForm(final int bh) {
        getInternalForm(bh).setFormlvl(6);
        showForm(bh);
    }

    public static void HidePrivilege() {
        getPrivilege().HideForm();
    }

    public static InternalForm getInternalForm(final int bh) {
        final Integer num = (Integer) FormsManagement.map.get(Integer.valueOf(bh));
        if (num != null) {
            return (InternalForm) FormsManagement.Forms.get(num.intValue());
        }
        final InternalForm form = FormLoad(bh);
        form.getFrame().setCursor(FormsManagement.cursor);
        FormsManagement.Forms.add(form);
        FormsManagement.map.put(Integer.valueOf(form.getFormid()), Integer.valueOf(FormsManagement.Forms.size() - 1));
        return form;

    }

    public static InternalForm getInternalFormsx(final int bh) {
        final InternalForm form = FormLoad(bh);
        form.getFrame().setCursor(FormsManagement.cursor);
        FormsManagement.Forms.add(form);
        FormsManagement.map.put(Integer.valueOf(form.getFormid()), Integer.valueOf(FormsManagement.Forms.size() - 1));
        return form;
    }


    public static InternalForm getInternalForm2(final int bh) {
        final Integer num = (Integer) FormsManagement.map.get(Integer.valueOf(bh));
        if (num != null) {
            return (InternalForm) FormsManagement.Forms.get(num.intValue());
        }
        return null;
    }

    public static InternalForm getInternalForm3(final int bh) {
        final Integer num = (Integer) FormsManagement.map.get(Integer.valueOf(bh));
        if (num != null) {
            final InternalForm form = (InternalForm) FormsManagement.Forms.get(num.intValue());
            if (form.getFrame().isVisible()) {
                return form;
            }
        }
        return null;
    }

    public static void HiddenDisplay(final int formsid) {
        if (getInternalForm(formsid).getFrame().isVisible()) {
            HideForm(formsid);
        } else {
            showForm(formsid);
        }
    }

    public static InternalForm FormLoad(final int bh) {
        InternalForm form = null;
        try {// 0 6 57 50 2 26 12 15  61 63 64 67 14 17 70 29 8 43 
            switch (bh) {//43 1 
                case 0: {
                    form = jframe0();
                    break;
                }
                case 3100: {
                    form = jframe3100();
                    break;
                }
                case 3102: {
                    form = jframe3102();
                    break;
                }
                case 1: {
                    form = jframe1();
                    break;
                }
                case 2: {
                    form = jframe2();
                    break;
                }
                case 3: {
                    form = jframe3();
                    break;
                }

                case 4: {
                    form = jframe4();
                    break;
                }
                case 5: {
                    form = jframe5();
                    break;
                }
                case 623: {
                    form = jframe623();
                    break;
                }
                case 624: {
                    form = jframe624();
                    break;
                }
                case 6: {
                    form = jframe6();
                    break;
                }
                case 7: {
                    form = jframe7();
                    break;
                }
                case 8: {
                    form = jframe8();
                    break;
                }
                case 9: {
                    form = jframe9();
                    break;
                }
                case 10: {
                    form = jframe10();
                    break;
                }
                case 11: {
                    form = jframe11();
                    break;
                }
                case 12: {
                    form = jframe12();
                    break;
                }
                case 13: {
                    form = jframe13();
                    break;
                }
                case 14: {
                    form = jframe14();
                    break;
                }
                case 15: {
                    form = jframe15();
                    break;
                }
                case 16: {
                    form = jframe16();
                    break;
                }
                case 17: {
                    form = jframe17();
                    break;
                }
                case 18: {
                    form = jframe18();
                    break;
                }
                case 19: {
                    form = jframe19();
                    break;
                }
                case 20: {
                    form = jframe20();
                    break;
                }
                case 21: {
                    form = jframe21();
                    break;
                }
                case 22: {
                    form = jframe22();
                    break;
                }
                case 23: {
                    form = jframe23();
                    break;
                }
                case 24: {
                    form = jframe24();
                    break;
                }
                case 25: {
                    form = jframe25();
                    break;
                }
                case 26: {
                    form = jframe26();
                    break;
                }
                case 27: {
                    form = jframe27();
                    break;
                }
                case 28: {
                    form = jframe28();
                    break;
                }
                case 29: {
                    form = jframe29();
                    break;
                }
                case 30: {
                    form = jframe30();
                    break;
                }
                case 31: {
                    form = jframe31();
                    break;
                }
                case 32: {
                    form = jframe32();
                    break;
                }
                case 33: {
                    form = jframe33();
                    break;
                }
                case 34: {
                    form = jframe34();
                    break;
                }
                case 35: {
                    form = jframe35();
                    break;
                }
                case 36: {
                    form = jframe36();
                    break;
                }
                case 700: {
                    /*  305 */
                    form = jframe();
                    /*      */
                    break;
                }
                case 701:
                    //TODO 化莲
                    form = jframe701();
                    break;
                case 702:
                    //TODO 合成葫芦小金刚
                    form = jframe702();
                    break;
                case 703:
                    //
                    form = jframe703();
                    break;
                case 705:
                    //
                    form = jframe705();
                    break;
                case 706:
                    //
                    form = jframe706();
                    break;
                case 707:
                    //
                    form = jframe707();
                    break;
                case 37: {
                    form = jframe37();
                    break;
                }
                case 38: {
                    form = jframe38();
                    break;
                }
                case 39: {
                    form = jframe39();
                    break;
                }
                case 40: {
                    form = jframe40();
                    break;
                }
                case 400: {
                    form = jframe400();
                    break;
                }
                case 41: {
                    form = jframe41();
                    break;
                }
                case 42: {
                    form = jframe42();
                    break;
                }
                case 43: {
                    form = jframe43();
                    break;
                }
                case 44: {
                    form = jframe44();
                    break;
                }
                case 45: {
                    form = jframe45();
                    break;
                }
                case 46: {
                    form = jframe46();
                    break;
                }
                case 47: {
                    form = jframe47();
                    break;
                }
                case 48: {
                    form = jframe48();
                    break;
                }
                case 49: {
                    form = jframe49();
                    break;
                }
                case 50: {
                    form = jframe50();
                    break;
                }
                case 51: {
                    form = jframe51();
                    break;
                }
                case 52: {
                    form = jframe52();
                    break;
                }
                case 53: {
                    form = jframe53();
                    break;
                }
                case 54: {
                    form = jframe54();
                    break;
                }
                case 55: {
                    form = jframe55();
                    break;
                }
                case 1000: {
                    form = jframe1000();
                    break;
                }
                case 1001: {
                    form = jframe1001();
                    break;
                }
                case 56: {
                    form = jframe56();
                    break;
                }
                case 57: {
                    form = jframe57();
                    break;
                }
                case 58: {
                    form = jframe58();
                    break;
                }
                case 59: {
                    form = jframe59();
                    break;
                }
                case 60: {
                    form = jframe60();
                    break;
                }
                case 61: {
                    form = jframe61();
                    break;
                }
                case 62: {
                    form = jframe62();
                    break;
                }
                case 620: {
                    form = jframe620();
                    break;
                }
                case 63: {
                    form = jframe63();
                    break;
                }
                case 64: {
                    form = jframe64();
                    break;
                }
                case 65: {
                    form = jframe65();
                    break;
                }
                case 66: {
                    form = jframe66();
                    break;
                }
                case 67: {
                    form = jframe67();
                    break;
                }
                case 68: {
                    form = jframe68();
                    break;
                }
                case 69: {
                    form = jframe69();
                    break;
                }
                case 70: {
                    form = jframe70();
                    break;
                }
                case 71: {
                    form = jframe71();
                    break;
                }
                case 72: {
                    form = jframe72();
                    break;
                }
                case 73: {
                    form = jframe73();
                    break;
                }
                case 74: {
                    form = jframe74();
                    break;
                }
                case 75: {
                    form = jframe75();
                    break;
                }
                case 76: {
                    form = jframe76();
                    break;
                }
                case 77: {
                    form = jframe77();
                    break;
                }
                case 78: {
                    form = jframe78();
                    break;
                }
                case 79: {
                    form = jframe79();
                    break;
                }
                case 80: {
                    form = jframe80();
                    break;
                }
                case 81: {
                    form = jframe81();
                    break;
                }
                case 82: {
                    form = jframe82();
                    break;
                }
                case 83: {
                    form = jframe83();
                    break;
                }
                case 84: {
                    form = jframe84();
                    break;
                }
                case 85: {
                    form = jframe85();
                    break;
                }
                case 86: {
                    form = jframe86();
                    break;
                }
                case 87: {
                    form = jframe87();
                    break;
                }
                case 88: {
                    form = jframe88();
                    break;
                }
                case 89: {
                    form = jframe89();
                    break;
                }
                case 90: {
                    form = jframe90();
                    break;
                }
                case 91: {
                    form = jframe91();
                    break;
                }
                case 92: {
                    form = jframe92();
                    break;
                }
                case 93: {
                    form = jframe93();
                    break;
                }
                case 94: {
                    form = jframe94();
                    break;
                }
                case 95: {
                    form = jframe95();
                    break;
                }
                case 96: {
                    form = jframe96();
                    break;
                }
                case 97: {
                    form = jframe97();
                    break;
                }
                case 98: {
                    form = jframe98();
                    break;
                }
                case 99: {
                    form = jframe99();
                    break;
                }
                case 100: {
                    form = jframe100();
                    break;
                }
                case 101: {
                    form = jframe101();
                    break;
                }
                case 102: {
                    form = jframe102();
                    break;
                }
                case 103: {
                    form = jframe103();
                    break;
                }
                case 104: {
                    form = jframe104();
                    break;
                }
                case 105: {
                    form = jframe105();
                    break;
                }
                case 106: {
                    form = jframe106();
                    break;
                }
                case 107: {
                    form = jframe107();
                    break;
                }
                case 108: {
                    form = jframe108();
                    break;
                }
                case 109: {
                    form = jframe109();
                    break;
                }
                case 110: {
                    form = jframe110();
                    break;
                }
                case 111: {
                    form = jframe111();
                    break;
                }
                case 112: {
                    form = jframe112();
                    break;
                }
                case 121:
                    //TODO 星盤弹出
                    form = jframe121();
                    break;
                case 122:
                    //TODO 星魂弹出
                    form = jframe122();
                    break;
                case 123:
                    //TODO 切换属性
                    form = jframe123();
                    break;
                case 199:
                    form = jframe199();
                    break;
                case 555:
                    form = jframe555();
                    break;
                case 600: {
                    form = jframe600();
                    break;
                }
                case 601: {
                    form = jframe601();
                    break;
                }
                case 602: {
                    form = jframe602();
                    break;
                }

                case 615: {
                    //TODO 黄大小
                    form = GamingJframe();
                    break;
                }
                case 640: {
                    form = jframe640();
                    break;
                }
                case 641: {
                    form = jframe641();
                    break;
                }
                case 866: {
                    form = jframe866();
                    break;
                }
                case 289557289: {
                    form = jframe289557289();
                    break;
                }
                case 1100: {
                    form = jframe1100();
                    break;
                }
                case 1101: {
                    form = jframe1101();
                    break;
                }
                //任我行
                case 1102: {
                    form = jframe1102();
                    break;
                }
                case 1103: {
                    form = jframe1103();
                    break;
                }
                case 1104: {
                    form = jframe1104();
                    break;
                }
                case 1105: {
                    form = jframe1105();
                    break;
                }
                case 2000: {
                    form = jframe2000();
                    break;
                }
                case 3000: {
                    form = jframe3000();
                    break;
                }
                case 665: {
                    form = jframe665();
                    break;
                }
//              case 3100:{
//                    form=jframe3100();
//                    break;
//              }
                case 3001: {
                    form = jframe3001();
                    break;
                }
                case 3002: {
                    form = jframe3002();
                    break;
                }
                case 3003: {
                    form = jframe3003();
                    break;
                }
                case 3004: {
                    form = jframe3004();
                    break;
                }
                case 3030://自选礼包
                    form = jframe3030();
                    break;
                case 119: {
                    form = jframe119();
                    break;
                }
                case 603: {
                    RoleProperty.getRoleProperty();
//                    XingPanSXJframe.getXingPanSXJpanel().getXpkx();
                    form = jframe603();
                    break;
                }
                case 604:
                    //TODO 天梯
                    form = jframe604();
                    break;
                case 605:
                    //TODO 赛事弹窗
                    form = jframe605();
                    break;
                case 606:
                    //TODO 天梯抽奖
                    form = jframe606();
                    break;
                case 666:
                    //TODO 宠物召唤
                    form = jframe666();
                    break;
                case 120:
                    form = jframe120();
                    break;
                case 160:
                    form = jframe160();
                    break;
                case 127:
                    form = jframe127();
                    break;
                case 124:
                    form = jframe124();
                    break;
                case 125:
                    form = jframe125();
                    break;
                case 126:
                    form = jframe126();
                    break;
                case 1116: //千里眼
                    form = QLY();
                    break;
                case 63333:
                    form = depositJframe();
                    break;
//                case 603: {
//                    form = jframe603();
//                    break;
//                }
                case 607: {
                    form = jframe607();
                    break;
                }
                case 631: {
                    form = jframe631();
                    break;
                }
                case 633: {
                    form = jframe633();
                    break;
                }
                case 634:
                    form = jframe634();
                    break;
                case 289: {
                    form = jframe289();
                    break;
                }
                case 1117: {
                    form = jframe1117();
                    break;
                }
                case 618: {
                    form = jframe618();
                    break;
                }
                case 622: {
                    form = jframe622();
                    break;
                }
                case 636:
                    form = jframe636();
                    break;
                case 637:
                    form = jframe637();
                    break;
                case 638:
                    form = jframe638();
                    break;
                case 688:
                    //TODO 心猿
                    form = jframe688();
                    break;
                case 128:
                    form = jframe128();
                    break;
                case 689:
                    form = jframe689();
                    break;

                case 559:
                    form = jframe559();
                    break;
                case 690:
                    form = jframe690();
                    break;
                case 691:
                    form = jframe691();
                    break;

                case 708:
                    form = jframe708();
                    break;
                case 709:
                    form = jframe709();
                    break;
                case 999:
                    form = jframe999();
                    break;
                case 2260: {
                    form = jframe2260();
                    break;
                }
                case 2261: {
                    form = jframe2261();
                    break;
                }
                case 2255: {
                    form = jframe2255();
                    break;

                }
                case 2256: {
                    form = jframe2256();
                    break;

                }
                case 2257: {
                    form = jframe2257();
                    break;

                }
                case 2258: {
                    form = jframe2258();
                    break;
                }
                case 2259: {
                    form = jframe2259();
                    break;
                }
                case 2230: {
                    form = jframe2230();
                    break;
                }
                case 113:
                    form = jframe113();
                    break;
                case 3019:
                    form = jframe3019();
                    break;
                case 3013://图鉴界面
                    form = jframe3013();
                    break;
                case 667:
                    form = jframe667();
                    break;
                case 3081:
                    form = jframe3081();
                    break;
                case 3072:
                    form = jframe3072();
                    break;
                case 3073:
                    form = jframe3073();
                    break;
                case 3082:
                    form = jframe3082();
                    break;
                case 3075:
                    form = jframe3075();
                    break;
                case 178888: {
                    form = spiritualJframe();
                    break;

                }
                case 628: {
                    form = jframe628();
                    break;

                }
                default:
                    break;
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        return form;
    }

    public static InternalForm jframe2261() {
        return new InternalForm(2261, new GouMaizhuFrame(), 2);
    }

    public static InternalForm jframe2260() {
        return new InternalForm(2260, new BaiTanJframe(), 2);
    }

    public static InternalForm jframe113() throws Exception {
        return new InternalForm(113, new ZhuShouJframe(), 2);
    }

    private static InternalForm jframe691() {
        return new InternalForm(691, new ZdlhJframe(), 2);
    }

    private static InternalForm jframe690() {
        return new InternalForm(690, new CodeCardJFrame(), 2);
    }

    private static InternalForm jframe559() {
        return new InternalForm(559, new FaHuoframe(), 2);
    }

    private static InternalForm jframe689() throws Exception {
        return new InternalForm(689, (JInternalFrame) new SetPassParentJfram(), 2);
    }

    public static InternalForm jframe128() throws Exception {
        return new InternalForm(128, new XYXJframe(), 2);
    }

    // 获取对应的窗体
    public static InternalForm jframe618() throws Exception {
        return new InternalForm(618, new FrameMessageChangeJframe(), 2);
    }

    private static InternalForm jframe688() {
        return new InternalForm(688, new SkillMainFrame5(), 2);
    }

//    public static InternalForm jframe603() throws Exception {
//        return new InternalForm(603, new MsgJframe1(), 4);
//    }

    public static InternalForm jframe631() throws Exception {
        return new InternalForm(631, new SkillMsgJframe1(), 2);
    }


    public static InternalForm jframe633() throws Exception {
        return new InternalForm(633, new MsgJframe4(), 2);
    }


    public static InternalForm jframe289() throws Exception {
        return new InternalForm(289, new WxchangeAwardJframe1(), 2);
    }

    public static InternalForm jframe634() throws Exception {
        return new InternalForm(634, new MsgJframe5(), 2);
    }

    public static InternalForm jframe126() throws Exception {
        return new InternalForm(126, new XinYuanChengShenJframe(), 2);
    }

    public static InternalForm jframe124() throws Exception {
        return new InternalForm(124, new XYJframe(), 2);
    }

    public static InternalForm jframe125() throws Exception {
        return new InternalForm(125, new XYXYDJframe(), 2);
    }

    public static InternalForm jframe127() throws Exception {
        return new InternalForm(127, new DianQJframe(), 2);
    }

    public static InternalForm jframe120() throws Exception {
        return new InternalForm(120, new DdianJframe(), 2);
    }

    public static InternalForm jframe160() throws Exception {
        return new InternalForm(160, new HuangJframe(), 2);
    }

    public static InternalForm jframe0() throws Exception {
        return new InternalForm(0, (JInternalFrame) new Teststatejframe(), 2);
    }

    public static InternalForm jframe1() throws Exception {
        return new InternalForm(1, (JInternalFrame) new TestChildJframe(), 2);
    }

    public static InternalForm jframe3100() throws Exception {
        return new InternalForm(3100, (JInternalFrame) new XBjczJpanelxsjm(), 2);
    }

    public static InternalForm jframe3102() throws Exception {
        return new InternalForm(3102, (JInternalFrame) new XSeTupJpanelxsjm(), 2);
    }

    public static InternalForm jframe2() throws Exception {
        return new InternalForm(2, (JInternalFrame) new TestpackJframe(), 2);
    }

    public static InternalForm jframe3() throws Exception {
        return new InternalForm(3, (JInternalFrame) new TesttaskJframe(), 2);
    }

    public static InternalForm jframe4() throws Exception {
        return new InternalForm(4, (JInternalFrame) new TestfriendlistJframe(), 2);
    }

    public static InternalForm jframe5() throws Exception {
        return new InternalForm(5, (JInternalFrame) new PartnerArenaJframe(), 2);
    }

    public static InternalForm jframe6() throws Exception {
        return new InternalForm(6, (JInternalFrame) new TestPetJframe(), 2);
    }

    public static InternalForm jframe666() throws Exception {
        return new InternalForm(666, (JInternalFrame) new TestPetJframe1(), 2);
    }

    public static InternalForm jframe7() throws Exception {
        return new InternalForm(7, (JInternalFrame) new MountJframe(), 2);
    }

    public static InternalForm jframe8() throws Exception {
        return new InternalForm(8, (JInternalFrame) new RoleResistanceJframe(), 2);
    }

    public static InternalForm jframe9() throws Exception {
        return new InternalForm(9, (JInternalFrame) new DuelBoardJframe(), 2);
    }

    public static InternalForm jframe10() throws Exception {
        return new InternalForm(10, (JInternalFrame) new Change_titleJframe(), 2);
    }

    public static InternalForm jframe11() throws Exception {
        return new InternalForm(11, (JInternalFrame) new NewRefiningJframe(), 2);
    }

    public static InternalForm jframe12() throws Exception {
        return new InternalForm(12, (JInternalFrame) new GiveJframe(), 2);
    }

    public static InternalForm jframe13() throws Exception {
        return new InternalForm(13, (JInternalFrame) new TeamJframe(), 2);
    }

    public static InternalForm jframe14() throws Exception {
        return new InternalForm(14, (JInternalFrame) new TransJframe(), 2);
    }

    public static InternalForm jframe15() throws Exception {
        return new InternalForm(15, (JInternalFrame) new TradeJframe(), 2);
    }

    public static InternalForm jframe16() throws Exception {
        return new InternalForm(16, (JInternalFrame) new BoothBoxJframe(), 2);
    }

    public static InternalForm jframe17() throws Exception {
        return new InternalForm(17, (JInternalFrame) new AlchemyJframe(), 2);
    }

    public static InternalForm jframe18() throws Exception {
        return new InternalForm(18, (JInternalFrame) new PetSkillsJframe(), 2);
    }

    public static InternalForm jframe19() throws Exception {
        return new InternalForm(19, (JInternalFrame) new TeamPostMessageJframe(), 2);
    }

    public static InternalForm jframe20() throws Exception {
        return new InternalForm(20, (JInternalFrame) new MountSkillsJframe(), 2);
    }

    public static InternalForm jframe21() throws Exception {
        return new InternalForm(21, (JInternalFrame) new ChangePasswordJframe(), 2);
    }

    public static InternalForm jframe22() throws Exception {
        TestsmallmapJpanel.chaxunss = null;
        WorldTestsmallmapJpanel.chaxunss = null;
        return new InternalForm(22, (JInternalFrame) new TestsmallmapJframe(), 2);
    }

    public static InternalForm jframe23() throws Exception {
        return new InternalForm(23, (JInternalFrame) new ShoppingBuyJframe(), 2);
    }

    public static InternalForm jframe24() throws Exception {
        return new InternalForm(24, (JInternalFrame) new GoodsMsgJframe(), 4);
    }

    public static InternalForm jframe25() throws Exception {
        return new InternalForm(25, (JInternalFrame) new CreatBangJframe(), 2);
    }

    public static InternalForm jframe26() throws Exception {
        return new InternalForm(26, (JInternalFrame) new ForgeJframe(), 2);
    }

    public static InternalForm jframe27() throws Exception {
        return new InternalForm(27, (JInternalFrame) new NPCJfram(), 2);
    }

    public static InternalForm jframe28() throws Exception {
        return new InternalForm(28, (JInternalFrame) new JoinBangJframe(), 2);
    }

    public static InternalForm jframe29() throws Exception {
        return new InternalForm(29, (JInternalFrame) new PawnJfram(), 2);
    }

    public static InternalForm jframe30() throws Exception {
        return new InternalForm(30, (JInternalFrame) new TeamApplyJframe(), 2);
    }

    public static InternalForm jframe31() throws Exception {
        return new InternalForm(31, (JInternalFrame) new TeamCreateJframe(), 2);
    }

    public static InternalForm jframe32() throws Exception {
        return new InternalForm(32, (JInternalFrame) new SetPassJfram(), 2);
    }

    public static InternalForm jframe33() throws Exception {
        return new InternalForm(33, (JInternalFrame) new UnLockJframe(), 2);
    }

    public static InternalForm jframe34() throws Exception {
        return new InternalForm(34, (JInternalFrame) new SkillMsgJframe(), 2);
    }

    public static InternalForm jframe35() throws Exception {
        return new InternalForm(35, (JInternalFrame) new StallBuyJframe(), 2);
    }

    public static InternalForm jframe36() throws Exception {
        return new InternalForm(36, (JInternalFrame) new SummoningCompoundJframe(), 2);
    }

    public static InternalForm jframe37() throws Exception {
        return new InternalForm(37, (JInternalFrame) new ApointJframe(), 2);
    }

    public static InternalForm jframe38() throws Exception {
        return new InternalForm(38, (JInternalFrame) new ImageDressJframe(), 2);
    }

    public static InternalForm jframe39() throws Exception {
        return new InternalForm(39, (JInternalFrame) new TaobaoCourtMainJframe(), 2);
    }

    public static InternalForm jframe40() throws Exception {
        return new InternalForm(40, (JInternalFrame) new ActivityJframe(), 2);
    }

    public static InternalForm jframe400() throws Exception {
        return new InternalForm(400, (JInternalFrame) new InstanceXJframe(), 2);
    }

    public static InternalForm jframe41() throws Exception {
        return new InternalForm(41, (JInternalFrame) new RaceChangeMainJframe(), 2);
    }

    public static InternalForm jframe42() throws Exception {
        return new InternalForm(42, (JInternalFrame) new PetsMsgJframe(230), 4);
    }

    public static InternalForm jframe43() throws Exception {
        return new InternalForm(43, (JInternalFrame) new LingbaoJframe(), 2);
    }

    public static InternalForm jframe44() throws Exception {
        return new InternalForm(44, (JInternalFrame) new GoodDetailedJframe(), 2);
    }

    public static InternalForm jframe45() throws Exception {
        return new InternalForm(45, (JInternalFrame) new LingMsgJframe(), 4);
    }

    public static InternalForm jframe46() throws Exception {
        return new InternalForm(46, (JInternalFrame) new MsgJframe(), 4);
    }

    public static InternalForm jframe47() throws Exception {
        return new InternalForm(47, (JInternalFrame) new NedanJframe(), 2);
    }

    public static InternalForm jframe48() throws Exception {
        return new InternalForm(48, (JInternalFrame) new FactionMainJframe(), 2);
    }

    public static InternalForm jframe49() throws Exception {
        return new InternalForm(49, (JInternalFrame) new FactionDetailsJframe(), 2);
    }

    public static InternalForm jframe50() throws Exception {
        return new InternalForm(50, (JInternalFrame) new TestSetupJframe(), 2);
    }

    public static InternalForm jframe51() throws Exception {
        return new InternalForm(51, (JInternalFrame) new TryOntxJframe(), 2);
    }

    public static InternalForm jframe52() throws Exception {
        return new InternalForm(52, (JInternalFrame) new SmallExpressionJframe(), 2);
    }

    public static InternalForm jframe53() throws Exception {
        return new InternalForm(53, (JInternalFrame) new GangsGuardJframe(), 2);
    }

    public static InternalForm jframe54() throws Exception {
        return new InternalForm(54, (JInternalFrame) new FactionAngelJframe(), 2);
    }

    public static InternalForm jframe55() throws Exception {
        return new InternalForm(55, (JInternalFrame) new TakeBackPawnGoodsJframe(), 2);
    }

    public static InternalForm jframe1000() throws Exception {
        return new InternalForm(1000, (JInternalFrame) new TakeBackPawnGoodsJframe1(), 2);
    }

    public static InternalForm jframe1001() throws Exception {
        return new InternalForm(1001, (JInternalFrame) new TakeBackPawnGoodsJframe2(), 2);
    }

    public static InternalForm jframe56() throws Exception {
        return new InternalForm(56, (JInternalFrame) new FriendChatMessageJframe(), 2);
    }

    public static InternalForm jframe57() throws Exception {
        return new InternalForm(57, (JInternalFrame) new Insideforms(57, (JPanel) new GGJpanel(), 125, 80), 4);
    }

    public static InternalForm jframe58() throws Exception {
        return new InternalForm(58, (JInternalFrame) new RolePetResistanceJframe(), 2);
    }

    public static InternalForm jframe59() throws Exception {
        return new InternalForm(59, (JInternalFrame) new RewardHallJframe(), 2);
    }

    public static InternalForm jframe60() throws Exception {
        return new InternalForm(60, (JInternalFrame) new RankingListJframe(), 2);
    }

    public static InternalForm jframe61() throws Exception {
        return new InternalForm(61, (JInternalFrame) new WorkshopRefiningJframe(), 2);
    }

    public static InternalForm jframe62() throws Exception {
        return new InternalForm(62, (JInternalFrame) new SupportListJframe(), 2);
    }

    public static InternalForm jframe620() throws Exception {
        return new InternalForm(620, (JInternalFrame) new PXSupportListJframe(), 2);
    }

    public static InternalForm jframe63() throws Exception {
        return new InternalForm(63, (JInternalFrame) new ExchangeValueJframe(), 2);
    }

    public static InternalForm jframe64() throws Exception {
        return new InternalForm(64, (JInternalFrame) new CollectionJadeJframe(), 2);
    }

    public static InternalForm jframe65() throws Exception {
        return new InternalForm(65, (JInternalFrame) new AlreadyRecordedJframe(), 2);
    }

    public static InternalForm jframe66() throws Exception {
        return new InternalForm(66, (JInternalFrame) new PalacePKJframe(), 2);
    }

    public static InternalForm jframe67() throws Exception {
        return new InternalForm(67, (JInternalFrame) new PetEquipmentJframe(), 2);
    }

    public static InternalForm jframe68() throws Exception {
        return new InternalForm(68, (JInternalFrame) new RookieGuideJframe(), 2);
    }

    public static InternalForm jframe69() throws Exception {
        return new InternalForm(69, (JInternalFrame) new AntiPluginJframe(), 2);
    }

    public static InternalForm jframe70() throws Exception {
        return new InternalForm(70, (JInternalFrame) new RuneOperateJframe(), 2);
    }

    public static InternalForm jframe71() throws Exception {
        return new InternalForm(71, (JInternalFrame) new QuackGameJframe(), 2);
    }

    public static InternalForm jframe72() throws Exception {
        return new InternalForm(72, (JInternalFrame) new PlayRulesJframe(), 2);
    }

    public static InternalForm jframe73() throws Exception {
        return new InternalForm(73, (JInternalFrame) new ExchangeAwardJframe(), 2);
    }

    public static InternalForm jframe74() throws Exception {
        return new InternalForm(74, (JInternalFrame) new SuitBaptizeJframe(), 2);
    }

    public static InternalForm jframe75() throws Exception {
        return new InternalForm(75, (JInternalFrame) new AddFriendJframe(), 2);
    }

    public static InternalForm jframe76() throws Exception {
        return new InternalForm(76, (JInternalFrame) new FriendMsgJframe(), 2);
    }

    public static InternalForm jframe77() throws Exception {
        return new InternalForm(77, new RoleMsgJframe(), 2);
    }

    public static InternalForm jframe78() throws Exception {
        return new InternalForm(78, (JInternalFrame) new TrslationMainJframe(), 2);
    }

    public static InternalForm jframe79() throws Exception {
        return new InternalForm(79, (JInternalFrame) new TraslationCommodityJFrame(), 2);
    }

    public static InternalForm jframe80() throws Exception {
        return new InternalForm(80, (JInternalFrame) new PartnerArenaWarJframe(), 2);
    }

    public static InternalForm jframe81() throws Exception {
        return new InternalForm(81, (JInternalFrame) new SoaringMainFrame(), 2);
    }

    public static InternalForm jframe82() throws Exception {
        return new InternalForm(82, (JInternalFrame) new SkillMainFrame(), 2);
    }

    public static InternalForm jframe83() throws Exception {
        return new InternalForm(83, (JInternalFrame) new SkillPromoteMainFrame(), 2);
    }

    public static InternalForm jframe84() throws Exception {
        return new InternalForm(84, (JInternalFrame) new GemMakeFrame(), 2);
    }

    public static InternalForm jframe85() throws Exception {
        return new InternalForm(85, (JInternalFrame) new GemstoneOperationMainFrame(), 2);
    }

    public static InternalForm jframe86() throws Exception {
        return new InternalForm(86, (JInternalFrame) new WingMainFrame(), 2);
    }

    public static InternalForm jframe87() throws Exception {
        return new InternalForm(87, (JInternalFrame) new LotteryMainFrame(), 2);
    }

    public static InternalForm jframe88() throws Exception {
        return new InternalForm(88, (JInternalFrame) new LotteryIntegralMainJframe(), 2);
    }

    public static InternalForm jframe89() throws Exception {
        return new InternalForm(89, (JInternalFrame) new SeventyTwoChangesJframe(), 2);
    }

    public static InternalForm jframe90() throws Exception {
        return new InternalForm(90, (JInternalFrame) new GoodsExchangeJframe(), 2);
    }

    public static InternalForm jframe91() throws Exception {
        return new InternalForm(91, (JInternalFrame) new JframeSummonEquipMain(), 2);
    }

    public static InternalForm jframe92() throws Exception {
        return new InternalForm(92, (JInternalFrame) new JframeCashRewardsMain(), 2);
    }


    public static InternalForm jframe93() throws Exception {
        return new InternalForm(93, (JInternalFrame) new JframeHelpMain(), 2);
    }

    public static InternalForm jframe94() throws Exception {
        return new InternalForm(94, (JInternalFrame) new JframeReclaimSkillMain(), 2);
    }

    public static InternalForm jframe95() throws Exception {
        return new InternalForm(95, (JInternalFrame) new JframeStarCardMain(), 2);
    }

    public static InternalForm jframe96() throws Exception {
        return new InternalForm(96, (JInternalFrame) new JframeSoulBackMain(), 2);
    }

    public static InternalForm jframe97() throws Exception {
        return new InternalForm(97, (JInternalFrame) new JframeStarTransferMain(), 2);
    }

    public static InternalForm jframe98() throws Exception {
        return new InternalForm(98, (JInternalFrame) new JframeStrengthMain(), 2);
    }

    public static InternalForm jframe99() throws Exception {
        return new InternalForm(99, (JInternalFrame) new IphoneVerifyFrame(), 2);
    }

    public static InternalForm jframe100() throws Exception {
        return new InternalForm(100, (JInternalFrame) new EverydayRechargeJframe(), 2);
    }

    public static InternalForm jframe101() throws Exception {
        return new InternalForm(101, (JInternalFrame) new ContinuousRechargeJframe(), 2);
    }

    public static InternalForm jframe102() throws Exception {
        return new InternalForm(102, (JInternalFrame) new EveryDayOddsJframe(), 2);
    }

    public static InternalForm jframe103() throws Exception {
        return new InternalForm(103, (JInternalFrame) new ImpactGradeJframe(), 2);
    }

    public static InternalForm jframe104() throws Exception {
        return new InternalForm(104, (JInternalFrame) new OptionsJframe(), 3);
    }

    public static InternalForm jframe105() throws Exception {
        return new InternalForm(105, (JInternalFrame) new PartnerJframe(), 2);
    }

    public static InternalForm jframe106() throws Exception {
        return new InternalForm(106, (JInternalFrame) new FactionAngelPracticeJframe(), 2);
    }

    public static InternalForm jframe107() throws Exception {
        return new InternalForm(107, (JInternalFrame) new PartnerArenaExchangeJframe(), 2);
    }

    public static InternalForm jframe108() throws Exception {
        return new InternalForm(108, (JInternalFrame) new TeamArenaMainJframe(), 2);
    }

    public static InternalForm jframe109() throws Exception {
        return new InternalForm(109, (JInternalFrame) new TrueFeedbackMainJframe(), 2);
    }

    public static InternalForm jframe110() throws Exception {
        return new InternalForm(110, (JInternalFrame) new TrueFeedbackAwardJframe(), 2);
    }

    public static InternalForm jframe111() throws Exception {
        return new InternalForm(111, (JInternalFrame) new DreamlandTrialMainJframe(), 2);
    }

    public static InternalForm jframe112() throws Exception {
        return new InternalForm(112, (JInternalFrame) new DonationsJfram(), 2);
    }

    public static InternalForm jframe122() throws Exception {
        return new InternalForm(122, new JframeXingCardMain(), 2);
    }

    public static InternalForm jframe121() throws Exception {
        return new InternalForm(121, new JframeXingBackMain(), 2);
    }

    public static InternalForm jframe123() throws Exception {
        return new InternalForm(123, new RoleToggleJframe(), 2);
    }
    // 添加AvatarSwitchFrame的支持
    public static InternalForm jframe199() throws Exception {
        TeststateJpanel teststateJpanel = Teststatejframe.getTeststatejframe().getTeststateJpanel();
        AvatarSwitchFrame avatarSwitchFrame = new AvatarSwitchFrame(teststateJpanel);
        // 直接返回AvatarSwitchFrame，而不是包装在Insideforms中，避免出现白色背景
        return new InternalForm(199, avatarSwitchFrame, 2);
    }
    public static InternalForm jframe555() throws Exception {
        return new InternalForm(555, new fly(), 2);
    }

    public static InternalForm jframe600() throws Exception {
        return new InternalForm(600, (JInternalFrame) new FindDropJfram(), 2);
    }

    public static InternalForm jframe601() throws Exception {
        return new InternalForm(601, (JInternalFrame) new PetLxJframe(), 2);
    }

    public static InternalForm jframe602() throws Exception {
        return new InternalForm(602, (JInternalFrame) new LXiulianMainFrame(), 2);
    }

    public static InternalForm jframe640() throws Exception {
        return new InternalForm(640, new MyLiangHaoJframe(), 2);
    }

    public static InternalForm jframe641() throws Exception {
        return new InternalForm(641, new GetLiangHaoJframe(), 2);
    }

    public static InternalForm jframe866() throws Exception {
        return new InternalForm(866, (JInternalFrame) new LHMainFrame(), 2);
    }

    public static InternalForm jframe289557289() throws Exception {
        return new InternalForm(289557289, (JInternalFrame) new WxchangeAwardJframe(), 2);
    }

    private static InternalForm jframe1100() throws IOException {
        return new InternalForm(1100, new QiandaoListJframe(), 2);
    }

    private static InternalForm jframe1101() throws IOException {
        return new InternalForm(1101, new ChaojifeiJframe(), 2);
    }

    public static InternalForm jframe1102() throws IOException {
        TestsmallmapJpanel.chaxunss = null;
        WorldTestsmallmapJpanel.chaxunss = null;
        InternalForm internalForm = new InternalForm(1102, new WorldMapJframe(), 2);
        WorldTestsmallmapJframe.getWorldTestsmallmapJframe().getWorldTestsmallmapJpanel().clearTps();
        return internalForm;
    }

    public static InternalForm jframe1103() throws IOException {
        return new InternalForm(1103, new WorldTestsmallmapJframe(), 2);
    }

    public static InternalForm jframe1104() throws IOException {
        return new InternalForm(1104, (JInternalFrame) new EventCalendarJframe(), 2);
    }

    public static InternalForm jframe1105() throws IOException {
        return new InternalForm(1105, new LotteryCPJframe(), 2);
    }

    private static InternalForm jframe2000() throws IOException {
        return new InternalForm(2000, new GMshopJframe(), 2);
    }

    private static InternalForm jframe3000() throws IOException {
        return new InternalForm(3000, new BjczJframe(), 2);
    }

    //    private static InternalForm jframe3100() throws IOException {
//        return new InternalForm(3100, new XBjczJframe(), 2);
//    }
    private static InternalForm jframe3001() throws IOException {
        return new InternalForm(3001, new AthChartJframe(), 2);
    }

    private static InternalForm jframe3002() throws IOException {
        return new InternalForm(3002, new RechargeVIPJframe(), 2);
    }

    private static InternalForm jframe3003() throws IOException {
        return new InternalForm(3003, new ExpAddMapJframe(), 2);
    }

    private static InternalForm jframe3004() throws IOException {
        return new InternalForm(3004, new LotteryFrame(), 2);
    }

    private static InternalForm jframe119() throws Exception {
        return new InternalForm(119, new AircraftJframe(), 2);
    }

    public static InternalForm jframe() throws Exception {
        return new InternalForm(700, (JInternalFrame) new experimentCompoundJframe(), 2);
    }

    public static InternalForm jframe701() throws Exception {//化莲
        return new InternalForm(701, new HuaLianJframe(), 2);
    }

    public static InternalForm jframe702() throws Exception {//合成葫芦小金刚
        return new InternalForm(702, new SyntheticGourdDollJframe(), 2);
    }

    public static InternalForm jframe703() throws Exception {//拍卖确认
        return new InternalForm(703, new AucJfram(), 2);
    }

    //    public static InternalForm jframe704() throws Exception {//信笺确认
//        return new InternalForm(704, new XinJianJfram(), 2);
//    }
    public static InternalForm jframe705() throws Exception {//靓号染色
        return new InternalForm(705, new PaintLiangHaoJframe(), 2);
    }

    public static InternalForm jframe706() throws Exception {//靓号染色
        return new InternalForm(706, new ContinueLiangHaoJframe(), 2);
    }

    public static InternalForm jframe707() throws Exception {//靓号染色
        return new InternalForm(707, new LiangHaoPreviewJframe(), 2);
    }

    static {
        Forms = (List<InternalForm>) new ArrayList();
        map = (Map<Integer, Integer>) new HashMap();
        cursor = Toolkit.getDefaultToolkit().createCustomCursor(new ImageIcon("").getImage(), new Point(), null);
        getInternalForm(0);
        getInternalForm(6);
    }

    public static InternalForm jframe604() throws Exception {//天梯
        return new InternalForm(604, new LadderJframe(), 2);
    }

    public static InternalForm jframe665() throws Exception {//天梯
        return new InternalForm(665, new LadderJframe1(), 2);
    }

    public static InternalForm jframe605() throws Exception {//赛事选择框子
        return new InternalForm(605, new EventSelectionJframe(), 2);
    }

    public static InternalForm jframe606() throws Exception {//赛事选择框子
        return new InternalForm(606, new LadderLotteryJframe(), 2);
    }

    public static InternalForm GamingJframe() throws Exception {//黄大小
        return new InternalForm(615, new GamingJframe(), 2);
    }

    public static InternalForm QLY() throws Exception {
        return new InternalForm(1116, new QLYJframe(), 2);
    }

    public static InternalForm jframe1117() throws Exception {
        return new InternalForm(1117, new PetpxJframe(), 2);
    }

    public static InternalForm depositJframe() throws Exception {
        return new InternalForm(63333, new DepositListJframe(), 2);
    }

    public static InternalForm jframe622() throws Exception {
        return new InternalForm(622, (JInternalFrame) new LingHelpListJframe(), 2);
    }

    public static InternalForm jframe636() throws Exception {
        return new InternalForm(636, new ShaoXiangJframe(230), 2);
    }

    public static InternalForm jframe637() throws Exception {
        return new InternalForm(637, new AutoTaskJframe(), 2);
    }

    public static InternalForm jframe638() throws Exception {
        return new InternalForm(638, new ChooseLiangHaoTypeJframe(), 2);
    }

    public static InternalForm jframe999() throws Exception {
        return new InternalForm(999, new AutoMaticRefiningJframe(), 2);
    }

    public static InternalForm jframe2255() throws Exception {
        return new InternalForm(2255, new xuanzeJframe(), 2);
    }

    public static InternalForm jframe2256() throws Exception {
        return new InternalForm(2256, new RandFJframe(), 2);
    }

    public static InternalForm jframe2257() throws Exception {
        return new InternalForm(2257, new ShouhuPackJframe(), 2);
    }

    public static InternalForm jframe2258() throws Exception {
        return new InternalForm(2258, new LvlupJframe(), 2);
    }

    public static InternalForm jframe2259() throws Exception {
        return new InternalForm(2259, new MountShouhuJframe(), 2);
    }

    public static InternalForm jframe2230() throws Exception {
        return new InternalForm(2230, new TtJFrame(), 2);
    }

    public static InternalForm jframe607() throws Exception {
        return new InternalForm(607, new ZhshuanfutujianJframe(), 2);
    }

    public static InternalForm jframe624() throws Exception {
        return new InternalForm(624, new EventSelectionJframe(), 2);
    }

    public static InternalForm jframe623() throws Exception {
        return new InternalForm(623, new LadderJframe(), 2);
    }

    //星盘属性
    public static InternalForm jframe603() throws Exception {
        return new InternalForm(603, new XingPanSXJframe(), 4);
    }

    public static InternalForm jframe3019() throws Exception {
        return new InternalForm(3019, new HallucinationJframe(), 2);
    }

    public static InternalForm jframe708() throws Exception {
        return new InternalForm(708, new ChatHistoryJframe(), 2);
    }

    public static InternalForm jframe709() throws Exception {
        return new InternalForm(709, new ChatSwitchJframe(), 2);
    }

    public static InternalForm jframe3013() throws Exception {
        return new InternalForm(3013, new PetTujianJframe(), 2);
    }

    private static InternalForm jframe3030() throws IOException {
        return new InternalForm(3030, new MyOptionalJframe(), 2);
    }

    private static InternalForm jframe667() throws IOException {
        return new InternalForm(667, new MsgJframe1(), 2);
    }

    public static InternalForm jframe3081() throws Exception {
        return new InternalForm(3081, new WelcomeXyJframe(), 2);
    }

    public static InternalForm jframe3072() throws Exception {
        return new InternalForm(3072, new AchievemJframe(), 2);
    }

    public static InternalForm jframe3073() throws Exception {
        return new InternalForm(3073, new AchievemMinJframe(), 2);
    }

    public static InternalForm spiritualJframe() throws Exception {
        return new InternalForm(178888, new SpiritualJframe(), 2);
    }

    public static InternalForm jframe628() throws Exception {
        return new InternalForm(628, new MsgJframe2(), 2);
    }

    public static InternalForm jframe3082() throws Exception {
        return new InternalForm(3082, new RechargeWebJframe(), 2);
    }

    public static InternalForm jframe3075() throws Exception {
        return new InternalForm(3075, new AnswerMinJframe(), 2);
    }
}
